/* config.h.std -- User-configuration for Unix version of Jade */

#ifndef _CONFIG_H
#define _CONFIG_H


/* Although this is called `config.h.std' I've no idea how standard this
   file is (does the word `standard' actually apply to Unix and its various
   flavours?). Anyway this should be as good a starting point as any other.

   If you alter this for your system, call the file something descriptive
   and mail it to me so I can include it in the next release.  */


/* Define this to the release of X11 you have, ie, 5 = X11R5, etc... */
#define HAVE_X11 6

#define HAVE_UNIX


/*
 * Configuration options for the Makefile go in here,
 */
#ifdef MAKEFILE_CONFIG

  /* What compiler to use, */
  CC = gcc

  /* Where the libX11 lives, */
  XLIBDIR = /usr/lib/X11

  /* Extra compiler/linker flags, */
  CFLAGS += -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
  LDFLAGS +=

#endif /* MAKEFILE_CONFIG */


/*
 * And stuff for the C files lives in here,
 */
#ifdef C_CONFIG

# include "unix_defs.h"
# include "x11_defs.h"

  /* Define this if you have a strerror() function. If undefined sys_errlist
     and sys_nerr will be used instead.	 */
# define HAVE_STRERROR

  /* Character of first pty, eg /dev/ptyX0.  */
# define FIRST_PTY_LETTER 'p'

  /* If you have a stpcpy() define this symbol.	 */
/* # define HAVE_STPCPY */

  /* Define this is you have memchr()  */
# define HAVE_MEMCHR

  /* If defined, swap the meaning of "BackSpace" and "Delete" event
     specifiers.  This may sound stupid but by mapping your `Delete'
     key to the `BackSpace' keysym the BackSpace and Delete keys are
     distinguishable from each other without breaking (too many?) other
     programs. Most programs seem to use either the Delete keysym to
     rub out the previous character, or treat both Delete and BackSpace
     keysyms identically. If anyone has any better ideas about this I'd
     be *very* interested to hear them :)  */
# define SWAP_DELETE_KEYS

 /* If a (working) alloca() is around define this,  */
# define HAVE_ALLOCA

 /* If memcpy() and friends are in <memory.h> define this. */
/* # define NEED_MEMORY_H */

 /* If defined, this is the character which terminates the user's real-name
    in the pw_gecos field of the passwd structure.  i.e. if pw_gecos has
    something like "Real Name,SYS-ID" define it to a comma (',')  */
/* # define FULL_NAME_TERMINATOR */

 /* When <unistd.h> doesn't declare `environ' define this, */
/* # define ENVIRON_UNDECLARED */

#endif /* C_CONFIG */

#endif /* _CONFIG_H */
